// Manifest V3 兼容的background script
chrome.runtime.onInstalled.addListener(function () {
    console.log('获取Cookie插件已安装');
});

// 监听来自popup的消息
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
    if (request.action === "getCookies") {
        // 处理获取cookie的请求
        sendResponse({success: true});
    }
});
